CFLAGS = -Wall -Wextra -g -DDEBUG
CPPFLAGS = `perl -MExtUtils::Embed -e ccopts`

all: milter

# xsinit.c:
# 	perl -MExtUtils::Embed -e xsinit -- -o xsinit.c

milter: milter.o callbacks.o
	gcc -o milter milter.o callbacks.o `perl -MExtUtils::Embed -e ldopts`

clean:
	rm -f milter *.o
